package com.uzai.console.jsonvo.faqkeyword;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author liuqi
 * @date 2022年04月28日 16:49
 */
@ApiModel("智能回复-关键词拉群-风控规则")
@Data
public class RiskRule {

    @ApiModelProperty("apikey")
    private String apikey;
    @ApiModelProperty("判断类型:1-黑名单；2-风控指数")
    private Integer modeType;
    @ApiModelProperty("风控指数")
    private Integer riskIndex;
    @ApiModelProperty("处理方式1-不拉群;2-拉到风控群")
    private Integer dealType;
    @ApiModelProperty("风控群wxid")
    private List<String> groupWxid;


    public Integer getModeType() {
        if(modeType == null){
            modeType = 1;
        }
        return modeType;
    }

    public void setModeType(Integer modeType) {
        this.modeType = modeType;
    }

    public Integer getDealType() {
        if(dealType == null){
            dealType = 1;
        }
        return dealType;
    }

    public void setDealType(Integer dealType) {
        this.dealType = dealType;
    }
}
